{% extends 'base.html' %}

{% block content %}

<h1>Plans</h1>
<ul>
{% for plan in plans %}
    <li><a href="{{ plan.get_absolute_url }}">Plan Created At {{ plan.created_at }}</a></li>
{% endfor %}
</ul>

<h2>Actions</h2>
<p><form action="{% url plans_index %}" method="POST">
    <input type="submit" value="Add New Plan" />
</form></p>

{% endblock content %}
